﻿package cn.edu.zjusc.POJO;

import javax.persistence.*;

@SuppressWarnings("serial")
@Entity
@Table(name = "roominfo")
public class RoomInfo implements java.io.Serializable {
	private int ro_id;
	//private int ro_roomNum;
	private String ro_examPlace;
	private String ro_stuType;
	private String ro_stuMajor;
	private String ro_faceOrPen;

	@Id
	@Column(name = "ID")
	public int getRo_id() {
		return ro_id;
	}

	public void setRo_id(int ro_id) {
		this.ro_id = ro_id;
	}

	/*
	@Column(name = "RoomNum")
	public int getRo_roomNum() {
		return ro_roomNum;
	}

	public void setRo_roomNum(int ro_roomNum) {
		this.ro_roomNum = ro_roomNum;
	}
*/
	@Column(name = "ExamPlace")
	public String getRo_examPlace() {
		return ro_examPlace;
	}

	public void setRo_examPlace(String ro_examPlace) {
		this.ro_examPlace = ro_examPlace;
	}

	@Column(name = "StuType")
	public String getRo_stuType() {
		return ro_stuType;
	}

	public void setRo_stuType(String ro_stuType) {
		this.ro_stuType = ro_stuType;
	}

	@Column(name = "StuMajor")
	public String getRo_stuMajor() {
		return ro_stuMajor;
	}

	public void setRo_stuMajor(String ro_stuMajor) {
		this.ro_stuMajor = ro_stuMajor;
	}

	@Column(name = "FaceOrPen")
	public String getRo_faceOrPen() {
		return ro_faceOrPen;
	}

	public void setRo_faceOrPen(String ro_faceOrPen) {
		this.ro_faceOrPen = ro_faceOrPen;
	}

}
